export declare type CodeType = {
  panelType: string;
  panelName: string;
  panelValue: string;
};

export declare type pageInfoType = {
  schema: object;
  name: string;
};

export declare type componentsMapType = {
  componentName: string;
  package: string;
  version: string;
  destructuring: boolean;
  exportName: string;
};

export declare type appTypes = {
  states: Record<string, object>;
  pageInfos: Record<string, pageInfoType>;
  codes: Record<string, object>;
  pages: Record<string, any[]>;
  components: any[];
  refreshKey: number;
  activeName: string;
  isLogin: boolean;
  userInfo: Record<string, any>;
};

export declare type AppConfigType = {
  /**
   * 模块名称
   */
  name: string;
  /**
   * 后台主页
   */
  homePath: string;
  /**
   * 基础配置
   */
  setting: object;
};
